#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/10/2 22:59
# @Author  : huidong.bai
# @File    : serializers.py
# @Software: PyCharm

from rest_framework.serializers import ModelSerializer
from .models import BannerModel


# BannerModel模型对象序列化器
class BannerModelSerializer(ModelSerializer):
    class Meta:
        model = BannerModel
        fields = "__all__"
